/*
 * Copyright @ 2024 weili23
 * com.itheima.mp.service 14:48
 * All right reserved.
 */

package com.itheima.mp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.mp.domain.dto.PageDTO;
import com.itheima.mp.domain.po.User;
import com.itheima.mp.domain.query.UserQuery;
import com.itheima.mp.domain.vo.UserVO;

import java.util.List;

/**
 * @desc: 用户接口
 * @author: weili23
 * @createTime: 2024/4/16 14:48
 * @version: v1.0
 */

public interface IUserService extends IService<User> {
    void deductMoney(Long id, Integer money);

    List<User> queryUserbyCondition(UserQuery query);

    UserVO queryUserAndAddrById(Long id);

    PageDTO<User> queryUserPagesByCondition(UserQuery query);
}
